package com.tjk.crawler.controller.red;

import com.tjk.crawler.base.entity.Result;
import com.tjk.crawler.service.red.service.RedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author tangjiakai
 * @Date 2024/8/14 16:51
 * @Description: 小红书相关接口
 */
@RestController
@RequestMapping("/red")
public class RedCrawlerController {

    @Autowired
    RedService redService;

    @PostMapping("/crawler")
    public Result redCrawler() {
        redService.catchRedDemo();
        return null;
    }
}
